package com.owen.server;

import com.github.pagehelper.PageInfo;
import com.owen.pojo.Dictionary;
import com.owen.pojo.Interview;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictionaryServer {

    public PageInfo<Dictionary> findAll(Integer pageNum, Integer pageSize);

    public PageInfo<Dictionary> findByDictionary(Dictionary dictionary, Integer pageNum, Integer pageSize);

    public List<Dictionary> findByDictionary(Dictionary dictionary);

    public Dictionary findById(Integer id);

    public Integer deleteById(Integer id);

    public Integer deleteBatch(Integer [] ids);

    public Integer save(Dictionary dictionary);

    public Integer update(Dictionary dictionary);

}
